import request from '@/utils/request'

// 查询综合展示列表
export function listComprehensive_display(query) {
  return request({
    url: '/view/comprehensive_display/list',
    method: 'get',
    params: query
  })
}

// 查询综合展示详细
export function getComprehensive_display(id) {
  return request({
    url: '/view/comprehensive_display/' + id,
    method: 'get'
  })
}

// 新增综合展示
export function addComprehensive_display(data) {
  return request({
    url: '/view/comprehensive_display',
    method: 'post',
    data: data
  })
}

// 修改综合展示
export function updateComprehensive_display(data) {
  return request({
    url: '/view/comprehensive_display',
    method: 'put',
    data: data
  })
}

// 删除综合展示
export function delComprehensive_display(id) {
  return request({
    url: '/view/comprehensive_display/' + id,
    method: 'delete'
  })
}

// 导出综合展示
export function exportComprehensive_display(query) {
  return request({
    url: '/view/comprehensive_display/export',
    method: 'get',
    params: query
  })
}